//
//  Person.h
//  OC03_属性_点语法
//
//  Created by Scott on 16/2/26.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject

/** 属性 */
@property (nonatomic, retain) NSString *name; /**< 注意:属性名前面没有 _ 符号. */
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, assign) NSInteger age;


/** 方法 */
- (instancetype)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;


+ (instancetype)person;
+ (instancetype)personWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;




@end
